package com.kwedding.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.kwedding.bean.TB_Images;

public interface TB_ImagesMapper {

	TB_Images selectByPrimaryKey(@Param("imageId") Long imageId);

	List<TB_Images> selectBrandImages(@Param("brandId") Long brandId);

	int insert(TB_Images tb_Images);

	int updateBySelective(TB_Images tb_Images);

	List<TB_Images> selectImagesByBrandIdAndType(@Param("brandId") Long brandId, @Param("type") Integer type);

	// 查询品牌所有可用的图片类型
	List<Integer> selectTypeByBrandId(@Param("brandId") Long brandId);
}
